package day09.edu;

// Created: 09/09/2025, ChangJiang Ru
public class ReturnExceptionDemo {
    static void methodA() throws Exception
    {
        try
        {
            System.out.println("Input the methodA");
            throw new Exception("Make exception");
        }finally
        {
            System.out.println("Using the methodA of finally");
        }
    }

    public static void main(String[] args)
    {
        try
        {
            methodA();
        }catch(Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

